package cn.yyh.serviceOrg.mapper;

import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.serviceOrg.entity.Department;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yang
 * @since 2021-07-10
 */
public interface DepartmentMapper extends MyBaseMapper<Department> {
    /**
     * 查找部门树
     * @version: 1.0
     * @return: List<Department>
     * @author: 杨永航
     * @date: 2021/6/23
     */
    List<Department> listDeptTree(Long id);
}
